package com.example.demo.factory.service.impl;

import com.example.demo.factory.annoation.Processor;
import com.example.demo.factory.enums.OpType;
import com.example.demo.factory.service.ProcessHandle;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

/**
 * 微信支付处理逻辑
 *
 * @author mdl
 * @date 2020/4/3 13:45
 */
@Slf4j
@Service
@Processor(OpType.WechatPayment)
public class WechatProcessHandle implements ProcessHandle {
    @Override
    public Object dealProcess(Object obj) {
        log.info("微信支付方式处理...");
        return null;
    }
}
